package UnOfficeDeTourisme;

/**
 * Interface definition : Carte
 * 
 * @author OpenORB Compiler
 */
public class CartePOATie extends CartePOA
{

    //
    // Private reference to implementation object
    //
    private CarteOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public CartePOATie(CarteOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public CartePOATie(CarteOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public CarteOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(CarteOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Read accessor for idCarte attribute
     */
    public int idCarte()
    {
        return _tie.idCarte();
    }

    /**
     * Read accessor for dateValidite attribute
     */
    public UnOfficeDeTourisme.datecut dateValidite()
    {
        return _tie.dateValidite();
    }

    /**
     * Read accessor for listeDesEntrees attribute
     */
    public UnOfficeDeTourisme.Entree[] listeDesEntrees()
    {
        return _tie.listeDesEntrees();
    }

    /**
     * Operation getEntrees
     */
    public UnOfficeDeTourisme.Entree[] getEntrees(int idVisite)
        throws UnOfficeDeTourisme.ListeVideException
    {
        return _tie.getEntrees( idVisite);
    }

    /**
     * Operation getAllEntrees
     */
    public UnOfficeDeTourisme.Entree[] getAllEntrees()
        throws UnOfficeDeTourisme.ListeVideException
    {
        return _tie.getAllEntrees();
    }

    /**
     * Operation ajouterEntree
     */
    public void ajouterEntree(UnOfficeDeTourisme.genericEntry[] hmIdEntree)
        throws UnOfficeDeTourisme.ListeVideException
    {
        _tie.ajouterEntree( hmIdEntree);
    }

    /**
     * Operation ajouterPresta
     */
    public void ajouterPresta(UnOfficeDeTourisme.Prestation presta)
    {
        _tie.ajouterPresta( presta);
    }

    /**
     * Operation calculerPrixTotalAPayer
     */
    public float calculerPrixTotalAPayer()
        throws UnOfficeDeTourisme.MontantNegatifException
    {
        return _tie.calculerPrixTotalAPayer();
    }

    /**
     * Operation dejaVisite
     */
    public boolean dejaVisite(UnOfficeDeTourisme.Visite v)
    {
        return _tie.dejaVisite( v);
    }

}
